i = 0

while i < 10:
    col = 1
    while col <= i:
        # print("*", end="")
        print("\t%d\t*\t%d\t=\t%d\t" % (i, col, i * col), end="")
        col += 1
    print("")
    i += 1
